package com.hkts.naturalgas.base.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.base.entity.RoastingtwoPyjone;

import java.text.ParseException;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-06-25
 */
public interface IRoastingtwoPyjoneService extends IService<RoastingtwoPyjone> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param roastingtwoPyjone
     * @return
     */
    IPage<RoastingtwoPyjone> selectPage(Page<RoastingtwoPyjone> page, RoastingtwoPyjone roastingtwoPyjone);

    List<RoastingtwoPyjone> selectList(RoastingtwoPyjone roastingtwoPyjone);

    IPage<RoastingtwoPyjone> selectPageByTime(Page<RoastingtwoPyjone> page, String startDate, String endDate);

    IPage<RoastingtwoPyjone> getBrokenLineGraph(Page<RoastingtwoPyjone> page, String startDate, String endDate);

    void addHostoryData(String startDate, String endDate) throws ParseException;

    void handlerPresserData(String endDate);

    void handlerCurveData(String startDate, String endDate, Float mbt, String order);

    void handlerBugData();
}